//
//  KOPClient.h
//  KOP
//
//  Created by 王贵源 on 15/9/23.
//  Copyright © 2015年 王贵源. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface KOPClient : NSObject
@property(nonatomic,strong)  KOPClient* client;
@property(nonatomic,strong) NSString *cookie;
@property(nonatomic,strong) NSString *uuid;
@property(nonatomic,strong) NSString *appkey;
@property(nonatomic,strong) NSString *sk;
@property(nonatomic,strong) NSString *endpoint;
+ (instancetype)sharedInstance;
- (KOPClient *)initWithKopandappKey:(NSString *)appkey andSK:(NSString *)sk andendPoint:(NSString *)endPoint;

- (NSMutableDictionary *) sendKopRequest:(NSString *) method data:(NSMutableDictionary *) data fileData: (NSMutableDictionary *) fileData;

- (NSMutableDictionary *)sendKopRequest:(NSString *) method data:(NSMutableDictionary *) data ;

@end
